package com.tea.room.service.tea.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tea.room.dao.tea.TeahouseDao;
import com.tea.room.model.tea.Teahouse;
import com.tea.room.service.tea.TeahouseService;

@Service
public class TeahouseServiceImpl implements TeahouseService {

    @Autowired
    private TeahouseDao teahouseDao;
    
    @Override
    public List<Teahouse> findTeahouse() {
        
        List<Teahouse> list = teahouseDao.queryList();
        
        return list;
    }

}
